package com.zjdiepu.www.model.base.ext;

import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import com.zjdiepu.www.base.core.PageExt;

/**
 * 经销商表<br/>
 * @author xiongxiaotun<br/>
 * @time 2017年11月27日 15时59分<br/>
 * @since 1.0<br/>
 */
@ApiModel(value="DpBaseDealerInfoExt", description="经销商表查询条件", parent = PageExt.class)
public class DpBaseDealerInfoExt extends PageExt {
	
	private static final long serialVersionUID = 1L;
	/**
	 * 上级ID
	 */
	@ApiModelProperty(name="parentId",required=false,value="上级ID",example="上级ID")
	private String parentId;
	
	/**
	 * 经销商编号
	 */
	@ApiModelProperty(name="dealerCode",required=false,value="经销商编号",example="经销商编号")
	private String dealerCode;
	
	/**
	 * 经销商名称
	 */
	@ApiModelProperty(name="dealerName",required=false,value="经销商名称",example="经销商名称")
	private String dealerName;
	
	/**
	 * 经销商等级
	 */
	@ApiModelProperty(name="dealerLevel",required=false,value="经销商等级",example="经销商等级")
	private String dealerLevel;
	
	/**
	 * 供应商省
	 */
	@ApiModelProperty(name="dealerProvince",required=false,value="供应商省",example="供应商省")
	private String dealerProvince;
	
	/**
	 * 供应商城市
	 */
	@ApiModelProperty(name="dealerCity",required=false,value="供应商城市",example="供应商城市")
	private String dealerCity;
	
	/**
	 * 经销商助记码
	 */
	@ApiModelProperty(name="dealerMnemonicCode",required=false,value="经销商助记码",example="经销商助记码")
	private String dealerMnemonicCode;
	
	/**
	 * 协议到期时间
	 */
	@ApiModelProperty(name="dateExpire",required=false,value="协议到期时间",example="2017-04-23 14:22:43")
	private Date dateExpire;
	
	/**
	 * 协议签署时间
	 */
	@ApiModelProperty(name="dateSign",required=false,value="协议签署时间",example="2017-04-23 14:22:43")
	private Date dateSign;
	
	/**
	 * 经销商类别
	 */
	@ApiModelProperty(name="dealerType",required=false,value="经销商类别",example="经销商类别")
	private String dealerType;
	
	/**
	 * 所属机构id
	 */
	@ApiModelProperty(name="unitId",required=false,value="所属机构id",example="所属机构id")
	private String unitId;
	
	/**
	 * 所属机构编码
	 */
	@ApiModelProperty(name="unitCode",required=false,value="所属机构编码",example="所属机构编码")
	private String unitCode;
	
//	辅助字段=================
	private Date submitTimeStart;
	
	private Date submitTimeEnd;
	
	public String getParentId(){
		return this.parentId;
	}
	
	public void setParentId(String parentId){
		this.parentId = parentId;
	}

	public String getDealerCode(){
		return this.dealerCode;
	}
	
	public void setDealerCode(String dealerCode){
		this.dealerCode = dealerCode;
	}

	public String getDealerName(){
		return this.dealerName;
	}
	
	public void setDealerName(String dealerName){
		this.dealerName = dealerName;
	}

	public String getDealerLevel(){
		return this.dealerLevel;
	}
	
	public void setDealerLevel(String dealerLevel){
		this.dealerLevel = dealerLevel;
	}

	public String getDealerProvince(){
		return this.dealerProvince;
	}
	
	public void setDealerProvince(String dealerProvince){
		this.dealerProvince = dealerProvince;
	}

	public String getDealerCity(){
		return this.dealerCity;
	}
	
	public void setDealerCity(String dealerCity){
		this.dealerCity = dealerCity;
	}

	public String getDealerMnemonicCode(){
		return this.dealerMnemonicCode;
	}
	
	public void setDealerMnemonicCode(String dealerMnemonicCode){
		this.dealerMnemonicCode = dealerMnemonicCode;
	}

	public Date getDateExpire(){
		return this.dateExpire;
	}
	
	public void setDateExpire(Date dateExpire){
		this.dateExpire = dateExpire;
	}

	public Date getDateSign(){
		return this.dateSign;
	}
	
	public void setDateSign(Date dateSign){
		this.dateSign = dateSign;
	}

	public String getDealerType(){
		return this.dealerType;
	}
	
	public void setDealerType(String dealerType){
		this.dealerType = dealerType;
	}

	public String getUnitId(){
		return this.unitId;
	}
	
	public void setUnitId(String unitId){
		this.unitId = unitId;
	}

	public String getUnitCode(){
		return this.unitCode;
	}
	
	public void setUnitCode(String unitCode){
		this.unitCode = unitCode;
	}

	public Date getSubmitTimeStart() {
		return submitTimeStart;
	}

	public void setSubmitTimeStart(Date submitTimeStart) {
		this.submitTimeStart = submitTimeStart;
	}

	public Date getSubmitTimeEnd() {
		return submitTimeEnd;
	}

	public void setSubmitTimeEnd(Date submitTimeEnd) {
		this.submitTimeEnd = submitTimeEnd;
	}

	@Override
	public String toString() {
		return super.toString() + "DpBaseDealerInfo [parentId = " + parentId + ", dealerCode = " + dealerCode + ", dealerName = " + dealerName + ", dealerLevel = " + dealerLevel + ", dealerProvince = " + dealerProvince + ", "
			+ "dealerCity = " + dealerCity + ", dealerMnemonicCode = " + dealerMnemonicCode + ", dateExpire = " + dateExpire + ", dateSign = " + dateSign + ", dealerType = " + dealerType + ", "
			+ "unitId = " + unitId + ", unitCode = " + unitCode + "]";
	}
    
}